package com.redwine.app.net.responses;

import java.util.List;

/**
 * 获取国家
 * 作者：gassion on 17/8/12 11:51
 * 最可怕的敌人，就是没有坚强的信念。
 */

public class CountryDataResponse extends BaseResponse {


    /**
     * data : {"country":[{"id":"1","name":"阿尔巴尼亚"},{"id":"2","name":"阿尔及利亚"},{"id":"3","name":"阿富汗"},{"id":"4","name":"阿根廷"},{"id":"5","name":"爱尔兰"},{"id":"6","name":"埃及"},{"id":"7","name":"埃塞俄比亚"},{"id":"8","name":"爱沙尼亚"},{"id":"9","name":"阿拉伯联合酋长国"},{"id":"10","name":"阿鲁巴"},{"id":"11","name":"阿曼"},{"id":"12","name":"安道尔"},{"id":"13","name":"安哥拉"},{"id":"14","name":"安圭拉"},{"id":"15","name":"安提瓜和巴布达"},{"id":"16","name":"澳大利亚"},{"id":"17","name":"奥地利"},{"id":"18","name":"阿塞拜疆"},{"id":"19","name":"巴巴多斯"},{"id":"20","name":"巴布亚新几内亚"},{"id":"21","name":"巴哈马"},{"id":"22","name":"白俄罗斯"},{"id":"23","name":"百慕大"},{"id":"24","name":"巴基斯坦"},{"id":"25","name":"巴拉圭"},{"id":"26","name":"巴林"},{"id":"27","name":"巴拿马"},{"id":"28","name":"保加利亚"},{"id":"29","name":"巴西"},{"id":"30","name":"北马里亚纳群岛"},{"id":"31","name":"贝宁"},{"id":"32","name":"比利时"},{"id":"33","name":"冰岛"},{"id":"34","name":"博茨瓦纳"},{"id":"35","name":"波兰"},{"id":"36","name":"玻利维亚"},{"id":"37","name":"伯利兹"},{"id":"38","name":"波斯尼亚和黑塞哥维那"},{"id":"39","name":"不丹"},{"id":"40","name":"布基拉法索"},{"id":"41","name":"布隆迪"},{"id":"42","name":"朝鲜"},{"id":"43","name":"赤道几内亚"},{"id":"44","name":"丹麦"},{"id":"45","name":"德国"},{"id":"46","name":"东帝汶"},{"id":"47","name":"多哥"},{"id":"48","name":"多米尼加共和国"},{"id":"49","name":"多米尼克"},{"id":"50","name":"厄瓜多尔"},{"id":"51","name":"厄立特里亚"},{"id":"52","name":"俄罗斯"},{"id":"53","name":"法国"},{"id":"54","name":"法罗群岛"},{"id":"55","name":"梵蒂冈"},{"id":"56","name":"法属波利尼西亚"},{"id":"57","name":"法属圣马丁"},{"id":"58","name":"斐济"},{"id":"59","name":"菲律宾"},{"id":"60","name":"芬兰"},{"id":"61","name":"佛得角"},{"id":"62","name":"福克兰群岛"},{"id":"63","name":"冈比亚"},{"id":"64","name":"刚果（布）"}]}
     */

    private DataEntity data;

    public DataEntity getData() {
        return data;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public static class DataEntity {
        private List<CountryEntity> country;

        public List<CountryEntity> getCountry() {
            return country;
        }

        public void setCountry(List<CountryEntity> country) {
            this.country = country;
        }

        public static class CountryEntity {
            /**
             * id : 1
             * name : 阿尔巴尼亚
             */

            private String id;
            private String name;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
    }
}
